﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvanceLib.Extension.XseScript
{
    public class ScriptParam
    {
        #region Constructors
        public ScriptParam()
        {
            this.Value = new byte[4];
        }
        #endregion

        #region Properties
        public byte[] Value { get; set; }
        public int Length { get; set; }
        public string DynamicName { get; set; }

        public bool IsDynamic
        {
            get { return !string.IsNullOrEmpty(this.DynamicName); }
        }
        #endregion
    }
}
